package com.example.chess2;

import android.graphics.Paint;
import android.graphics.Point;

/**
 * @description  This claim a class that store a Point and a Paint  
 * @author lu.feng
 */
public class PPoint {
	private Point point;    //棋子坐标点
	private Paint paint;    //画笔
	
	private int liberty;   //气
	private int pieceId;   //块id
	private boolean valide;  //是否有效
	private int step;     //放子的步
	private int endStep;   //被提掉的步
	
	public int getEndStep() {
		return endStep;
	}
	public void setEndStep(int endStep) {
		this.endStep = endStep;
	}
	public int getLiberty() {
		return liberty;
	}
	public void setLiberty(int liberty) {
		this.liberty = liberty;
	}
	public Point getPoint() {
		return point;
	}
	public void setPoint(Point point) {
		this.point = point;
	}
	public Paint getPaint() {
		return paint;
	}
	public void setPaint(Paint paint) {
		this.paint = paint;
	}
	public int getPieceId() {
		return pieceId;
	}
	public void setPieceId(int pieceId) {
		this.pieceId = pieceId;
	}
	public boolean isValide() {
		return valide;
	}
	public void setValide(boolean valide) {
		this.valide = valide;
	}
	public int getStep() {
		return step;
	}
	public void setStep(int step) {
		this.step = step;
	}
	
	
}
